package com.cy.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

@Service
public class ConsumerService {

    @SentinelResource("doGetResource")
    public String doGetResource () {

        System.out.println("do get resource");
        return "do get resource";

    }

}
